#ifndef __CK_LANDSAT_RAW_META_GROUP_H__
#define __CK_LANDSAT_RAW_META_GROUP_H__

#include "ckobject.h"
#include "zCore.h"
#include <map>
#include <vector>
#include <string>

namespace ck
{
	namespace data
	{
		class ZCORE_API LandsatRawMetaGroup :	public ckObject
		{
		public:
			LandsatRawMetaGroup();
			virtual ~LandsatRawMetaGroup();

		public:
			void		Reset();
			void		Next();
			bool		IsEOF();

			const char*	GetKey();
			const char*	GetValue();
			const char*	GetValue(const char* szKey);
			bool		Find(const char* szKey);

			RESULTCODE	Set(const char* szKey, const char* szValue);

		public:
			RESULTCODE	SetName(const char* szName);
			const char*	GetName();
			
		protected:
			std::string m_name;
			std::map<std::string, std::string>	m_pairs;
			std::map<std::string, std::string>::iterator	m_iter;
		};

	}
}

#endif //__CK_LANDSAT_RAW_META_GROUP_H__

